<nav class="navbar navbar-default">
	<div class="container-fluid">
	    <div class="navbar-header">
	    	<a class="navbar-brand" href="">孙涛的博客后台</a>
	    </div>
	    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav">
				<li <?php if($this->page_Name=='article') echo  'class="active"'; ?>><a href="<?php echo site_url('admin/Article/index') ?>">文章列表 <span class="sr-only">(current)</span></a></li>
				<li <?php if($this->page_Name=='catalog') echo 'class="active"'; ?>><a href="<?php echo site_url('admin/Catalog/index') ?>">分类列表</a></li>
			</ul>
	      <ul class="nav navbar-nav navbar-right">
	        <li class="dropdown">
	        	<a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><?php echo $this->session->userdata('username'); ?><span class="caret"></span></a>
				<ul class="dropdown-menu">
					<li><a href="<?php echo site_url('admin/Auth/destroy') ?>">安全退出</a></li>
				</ul>
	        </li>
	      </ul>
	    </div>
	</div>
</nav>
